package transactionimplementation

import (
	AbstractTransactions "SoftwareEngineering/AbstractTransactions"
	Model "SoftwareEngineering/Model"
	ModelImplementation "SoftwareEngineering/ModelImplementation"
)
type ChangeSalariedTransaction struct {
	AbstractTransactions.ChangeClassificationTransaction
	itsSalary float64
}

func (c *ChangeSalariedTransaction) GetClassification() Model.PaymentClassification {
	return ModelImplementation.SalariedClassification(c.itsSalary)
}

func (c *ChangeSalariedTransaction) GetSchedule() Model.PaymentSchedule {
	return ModelImplementation.MonthlySchedule{}
}